<template>
	<view :style="'width:'+width">
		<u-image :src="src" 
			:fade="true"
			 width="100%"
			 :height="imgHeight"
			border-radius="30rpx 30rpx 70rpx 70rpx"
			duration="450"></u-image>
	<u-tag :text="title" />
	</view>
</template>

<script>
	export default {
		name:"hear-image",
		props:['width','imgHeight','title','src'],
		data() {
			return {
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	view{
		position: relative;
	}
	.u-image{
		box-shadow: 0 0 30rpx $u-type-primary-disabled;
	}
	.u-tag{
		position: absolute;
		bottom: 0rpx;
		width: 100%;
		text-align: center;
		opacity: .8;
		height: 70rpx;
		border-radius: 0 0 70rpx 70rpx;
		font-size: 30rpx;
		font-weight: bold;
	}
</style>
